package com.mc.fil.domain;
 import java.math.BigDecimal;
 import java.util.Date;
 import java.util.List;

 import com.fasterxml.jackson.annotation.JsonFormat;
 import org.apache.commons.lang3.builder.ToStringBuilder;
 import org.apache.commons.lang3.builder.ToStringStyle;
 import com.mc.common.annotation.Excel;
 import com.mc.common.core.domain.BaseEntity;

/**
 * 播种信息 对象 fil_sow
 *
 * @author mc
 * @date 2021-04-14
 */
public class FilSow extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String updateUserId;

    /** 采种田编号 */
    @Excel(name = "采种田编号")
    private String filId;

    /** 播种方式 */
    @Excel(name = "播种方式")
    private String type;

    /** 播种深度 */
    @Excel(name = "播种深度")
    private BigDecimal depth;

    /** 播种开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "播种开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 播种结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "播种结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 播种面积 */
    @Excel(name = "播种面积")
    private BigDecimal area;

    /** 行株距 */
    @Excel(name = "行株距")
    private BigDecimal rowDistance;

    /** 亩用种量 */
    @Excel(name = "亩用种量")
    private BigDecimal seedQuantity;

    /** 肥料名称 */
    @Excel(name = "肥料名称")
    private String manureName;

    /** 底肥用量 */
    @Excel(name = "底肥用量")
    private Long manureUseLevel;

    /** 执行人编号 */
    @Excel(name = "执行人编号")
    private String workUserId;

    private List<FilMultimedia> photos;

    public List<FilMultimedia> getPhotos() {
        return photos;
    }

    public void setPhotos(List<FilMultimedia> photos) {
        this.photos = photos;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }
    public void setCreatTime(Date creatTime)
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime()
    {
        return creatTime;
    }
    public void setUpdateUserId(String updateUserId)
    {
        this.updateUserId = updateUserId;
    }

    public String getUpdateUserId()
    {
        return updateUserId;
    }
    public void setFilId(String filId)
    {
        this.filId = filId;
    }

    public String getFilId()
    {
        return filId;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setDepth(BigDecimal depth)
    {
        this.depth = depth;
    }

    public BigDecimal getDepth()
    {
        return depth;
    }
    public void setStartDate(Date startDate)
    {
        this.startDate = startDate;
    }

    public Date getStartDate()
    {
        return startDate;
    }
    public void setEndDate(Date endDate)
    {
        this.endDate = endDate;
    }

    public Date getEndDate()
    {
        return endDate;
    }
    public void setArea(BigDecimal area)
    {
        this.area = area;
    }

    public BigDecimal getArea()
    {
        return area;
    }
    public void setRowDistance(BigDecimal rowDistance)
    {
        this.rowDistance = rowDistance;
    }

    public BigDecimal getRowDistance()
    {
        return rowDistance;
    }
    public void setSeedQuantity(BigDecimal seedQuantity)
    {
        this.seedQuantity = seedQuantity;
    }

    public BigDecimal getSeedQuantity()
    {
        return seedQuantity;
    }
    public void setManureName(String manureName)
    {
        this.manureName = manureName;
    }

    public String getManureName()
    {
        return manureName;
    }
    public void setManureUseLevel(Long manureUseLevel)
    {
        this.manureUseLevel = manureUseLevel;
    }

    public Long getManureUseLevel()
    {
        return manureUseLevel;
    }
    public void setWorkUserId(String workUserId)
    {
        this.workUserId = workUserId;
    }

    public String getWorkUserId()
    {
        return workUserId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createUserId", getCreateUserId())
                .append("creatTime", getCreatTime())
                .append("updateUserId", getUpdateUserId())
                .append("updateTime", getUpdateTime())
                .append("filId", getFilId())
                .append("type", getType())
                .append("depth", getDepth())
                .append("startDate", getStartDate())
                .append("endDate", getEndDate())
                .append("area", getArea())
                .append("rowDistance", getRowDistance())
                .append("seedQuantity", getSeedQuantity())
                .append("manureName", getManureName())
                .append("manureUseLevel", getManureUseLevel())
                .append("workUserId", getWorkUserId())
                .append("photos", getPhotos())
                .toString();
    }
}

